package com.hahaliu.hahaliu.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 * @TableName favorite_video
 */
@TableName(value ="favorite_video")
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class FavoriteVideo implements Serializable {
    /**
     * ID
     */
    @TableId(type = IdType.AUTO)
    private Integer fvId;

    /**
     * 视频ID
     */
    private Integer vId;

    /**
     * 所属收藏夹ID
     */
    private Integer fId;

    /**
     * 收藏时间
     */
    private Date time;

    /**
     * 是否移除 0否 1已移除
     */
    private Integer isRemove;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}